<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Agenda de Contato</title>
    </h:head>
    <h:body>
        <h:outputStylesheet library="css" name="acesso.css" />
        <h:form id="frmLogin">
            <p:fieldset id="fLogin">
                <h:panelGrid columns="2">
                    <p:outputLabel value="Login.:" />
                    <p:inputText  value="#{bLogin.login}" onkeyup="this.value = this.value.toUpperCase()" /> 
                    <p:outputLabel value="Senha.:" />
                    <p:password value="#{bLogin.senha}" onkeyup="this.value = this.value.toUpperCase()" />
                </h:panelGrid>
                <p:commandButton id="btEntrar" value="Entrar" action="#{bLogin.logar}" ajax="false"/>
                <p:messages id="msg" />
            </p:fieldset>
        </h:form>
    </h:body>
</html>

